package com.ruoyi.know.service;

import com.ruoyi.know.domain.KnowledgePoints;

import java.util.List;

public interface KnowledgePointsService {

    List<KnowledgePoints> getAllKnowledgePoints();
    KnowledgePoints getKnowledgePointById(Integer knowledgePointId);
    int addKnowledgePoint(KnowledgePoints knowledgePoints);
    int updateKnowledgePoint(KnowledgePoints knowledgePoints);
    int deleteKnowledgePointById(Integer knowledgePointId);
    List<KnowledgePoints> buildTree(List<KnowledgePoints> knowledgePointsList);
}
